 /**
 * Description: 盘点明细
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.report.beans.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.core.beans.entity.BaseEntity;
import java.util.Date;
import com.metro.utils.DateUtil;
 /**
 * 盘点明细<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class ReportCheckEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
 
    //物资ID
    private Long materialsId;
    //系统库存
    private Integer systemStock;
    //盘点库存
    private Integer checkStock;
    //备注
    private String remark;
    //盘点单号
    private String checkCode;
    //物资编号
    private String materialsCode;
    //物资名称
    private String materialsName;
    //规格
    private String specification;
    //单位
    private String unit;
    //经办人
    private String agentName;
    //盘点时间
    private Date checkTime;
    //盘点差异 1:正常;2:系统大于盘点;3:系统小于盘点
    private String diffStock;
    
    
    public String getCheckTimeStr() {
        return DateUtil.limitDay(this.checkTime);
    }
}
